home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.1 (Developer) [x86] / NeXT Step 3.1 Intel dev.cdr.dmg / NextDeveloper / Examples / AppKit / Draw / graphicsUndo.subproj / LineCapGraphicsChange.m < prev    next >
Text File  |  1992-02-09  |  538b  |  32 lines

  1. #import "drawundo.h"
  2.  
  3. @interface LineCapGraphicsChange(PrivateMethods)
  4.  
  5. @end
  6.  
  7. @implementation LineCapGraphicsChange
  8.  
  9. - initGraphicView:aGraphicView lineCap:(int)aCapValue
  10. {
  11.     [super initGraphicView:aGraphicView];
  12.     capValue = aCapValue;
  13.     return self;
  14. }
  15.  
  16. - (const char *)changeName
  17. {
  18.     return NXLocalStringFromTable("Operations", "Line Cap", NULL, "The operation of changing the roundedness of the end of a line.");
  19. }
  20.  
  21. - changeDetailClass
  22. {
  23.     return [LineCapChangeDetail class];
  24. }
  25.  
  26. - (int)lineCap
  27. {
  28.     return capValue;
  29. }
  30.  
  31. @end
  32.